endAsyncSection

open fun endAsyncSection(@NonNull methodName: String, cookie: Int)(source)

Writes a trace message to indicate that the current method has ended. Must be called exactly once for each call to beginAsyncSection using the same name and cookie.

Parameters

methodName

The method name to appear in the trace.

cookie

Unique identifier for distinguishing simultaneous events